// pages/index/index.js
Page({
    data: {
        topTitle: { title_en: "home", title_cn: "首页", title_index: 0 },
    },
    onTopTitle: function (e) {
        this.setData({
            topTitle: e.detail.topTitle
        })
    }
})